const CONTENT_SUCCESS = 'CONTENT_SUCCESS'
const CONTENT_ERROR_MSG = 'CONTENT_ERROR_MSG'
const initialState = {

}
// rxreducer
// rxaction
const content = (state = initialState, action) => {
    // console.log(action.payload);
    switch (action.type) {
        case CONTENT_SUCCESS:
            return {...state,...action.payload }
        case CONTENT_ERROR_MSG:
            return { ...action.payload }
        default:
            return state
    }
}
export default content
